﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace Cstudy.BLL
{
    public class postClass
    {
        public bool AddPostClass(MODEL.postclass postclass)
        {
            return new DAL.postClass().AddPostClass(postclass);
        }

        public bool UpdatePostClass(MODEL.postclass postclass)
        {
            return new DAL.postClass().UpdatePostClass(postclass);
        }

        public bool DeletePostClass(int classid)
        {
            return new DAL.postClass().DeletePostClass(classid);
        }

        public DataSet SelectPostClassOrderBy()
        {
            return new DAL.postClass().SelectPostClassOrderBy();
        }

        public DataSet SelectPostClassByID(int classid)
        {
            return new DAL.postClass().SelectPostClassByID(classid);
        }

    }
}
